#!/bin/python
import random
a = 'abcdefghijklmnopqrstuvwxyz'
list1 = []
dict2 = {}
for i in range(6):
    list1.append(a[random.randint(0,5)] + a[random.randint(0,5)])
list1.sort(reverse=True)
print(list1)
for i in list1:
    if i in dict2:
        dict2[i] = dict2[i] + 1
    else:
        dict2[i] = 1
print(dict2)


# 结果与题目要求有点不符合
